# import pandas as pd
# df = pd.DataFrame([2,5,5,5,3,4], columns=['原始数据'])
# df['排名'] = df.rank(method='first',ascending=False)
# df = df.sort_values(by='排名')
# print(df)
import pandas as pd
df = pd.DataFrame([100,80,95,90,95,85],columns=['原始数据'])
df['排名'] = df.rank(method='first',ascending=False)
df = df.sort_values(by='排名')
print(df)